<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>api_shim.vertx</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;api_shim ::
        Module&nbsp;vertx
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="api_shim.vertx-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="api_shim.vertx-module.html">Module api_shim.vertx</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># Copyright 2011 the original author or authors.</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#      http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-docstring">""" </tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-docstring">This module provides the entry point to the vert.x platform </tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module api_shim.vertx=api_shim.vertx-module.html"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-0', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">lang</tt><tt class="py-op">.</tt><tt class="py-name">System</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-1" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-1', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Package api_shim.core=api_shim.core-module.html"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-2', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">JsonObject</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-3" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-3', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Module api_shim.core.file_system=api_shim.core.file_system-module.html,Function api_shim.vertx.file_system()=api_shim.vertx-module.html#file_system"><a title="api_shim.core.file_system
api_shim.vertx.file_system" class="py-name" href="#" onclick="return doclink('link-4', 'file_system', 'link-4');">file_system</a></tt> <tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Class api_shim.core.file_system.FileSystem=api_shim.core.file_system.FileSystem-class.html"><a title="api_shim.core.file_system.FileSystem" class="py-name" href="#" onclick="return doclink('link-5', 'FileSystem', 'link-5');">FileSystem</a></tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-6" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-6', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Module api_shim.core.http=api_shim.core.http-module.html"><a title="api_shim.core.http" class="py-name" href="#" onclick="return doclink('link-7', 'http', 'link-7');">http</a></tt> <tt class="py-keyword">import</tt> <tt id="link-8" class="py-name" targets="Class api_shim.core.http.HttpServer=api_shim.core.http.HttpServer-class.html"><a title="api_shim.core.http.HttpServer" class="py-name" href="#" onclick="return doclink('link-8', 'HttpServer', 'link-8');">HttpServer</a></tt><tt class="py-op">,</tt> <tt id="link-9" class="py-name" targets="Class api_shim.core.http.HttpClient=api_shim.core.http.HttpClient-class.html"><a title="api_shim.core.http.HttpClient" class="py-name" href="#" onclick="return doclink('link-9', 'HttpClient', 'link-9');">HttpClient</a></tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-10', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Module api_shim.core.net=api_shim.core.net-module.html"><a title="api_shim.core.net" class="py-name" href="#" onclick="return doclink('link-11', 'net', 'link-11');">net</a></tt> <tt class="py-keyword">import</tt> <tt id="link-12" class="py-name" targets="Class api_shim.core.net.NetServer=api_shim.core.net.NetServer-class.html"><a title="api_shim.core.net.NetServer" class="py-name" href="#" onclick="return doclink('link-12', 'NetServer', 'link-12');">NetServer</a></tt><tt class="py-op">,</tt> <tt id="link-13" class="py-name" targets="Class api_shim.core.net.NetClient=api_shim.core.net.NetClient-class.html"><a title="api_shim.core.net.NetClient" class="py-name" href="#" onclick="return doclink('link-13', 'NetClient', 'link-13');">NetClient</a></tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-14" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-14', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Module api_shim.core.sock_js=api_shim.core.sock_js-module.html"><a title="api_shim.core.sock_js" class="py-name" href="#" onclick="return doclink('link-15', 'sock_js', 'link-15');">sock_js</a></tt> <tt class="py-keyword">import</tt> <tt id="link-16" class="py-name" targets="Class api_shim.core.sock_js.SockJSServer=api_shim.core.sock_js.SockJSServer-class.html"><a title="api_shim.core.sock_js.SockJSServer" class="py-name" href="#" onclick="return doclink('link-16', 'SockJSServer', 'link-16');">SockJSServer</a></tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-17" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-17', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Module api_shim.core.handlers=api_shim.core.handlers-module.html"><a title="api_shim.core.handlers" class="py-name" href="#" onclick="return doclink('link-18', 'handlers', 'link-18');">handlers</a></tt> <tt class="py-keyword">import</tt> <tt id="link-19" class="py-name" targets="Class api_shim.core.handlers.TimerHandler=api_shim.core.handlers.TimerHandler-class.html"><a title="api_shim.core.handlers.TimerHandler" class="py-name" href="#" onclick="return doclink('link-19', 'TimerHandler', 'link-19');">TimerHandler</a></tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Class api_shim.core.handlers.NullDoneHandler=api_shim.core.handlers.NullDoneHandler-class.html"><a title="api_shim.core.handlers.NullDoneHandler" class="py-name" href="#" onclick="return doclink('link-20', 'NullDoneHandler', 'link-20');">NullDoneHandler</a></tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name" targets="Class api_shim.core.handlers.AsyncHandler=api_shim.core.handlers.AsyncHandler-class.html"><a title="api_shim.core.handlers.AsyncHandler" class="py-name" href="#" onclick="return doclink('link-21', 'AsyncHandler', 'link-21');">AsyncHandler</a></tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Class api_shim.core.handlers.NullAsyncHandler=api_shim.core.handlers.NullAsyncHandler-class.html"><a title="api_shim.core.handlers.NullAsyncHandler" class="py-name" href="#" onclick="return doclink('link-22', 'NullAsyncHandler', 'link-22');">NullAsyncHandler</a></tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-23" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-23', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Module api_shim.core.javautils=api_shim.core.javautils-module.html"><a title="api_shim.core.javautils" class="py-name" href="#" onclick="return doclink('link-24', 'javautils', 'link-24');">javautils</a></tt> <tt class="py-keyword">import</tt> <tt id="link-25" class="py-name" targets="Function api_shim.core.javautils.map_to_java()=api_shim.core.javautils-module.html#map_to_java"><a title="api_shim.core.javautils.map_to_java" class="py-name" href="#" onclick="return doclink('link-25', 'map_to_java', 'link-25');">map_to_java</a></tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name" targets="Function api_shim.core.javautils.map_from_java()=api_shim.core.javautils-module.html#map_from_java"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-26', 'map_from_java', 'link-26');">map_from_java</a></tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"Scott Horn"</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt id="link-27" class="py-name" targets="Variable api_shim.core.buffer.__email__=api_shim.core.buffer-module.html#__email__,Variable api_shim.core.event_bus.__email__=api_shim.core.event_bus-module.html#__email__,Variable api_shim.core.file_system.__email__=api_shim.core.file_system-module.html#__email__,Variable api_shim.core.handlers.__email__=api_shim.core.handlers-module.html#__email__,Variable api_shim.core.http.__email__=api_shim.core.http-module.html#__email__,Variable api_shim.core.javautils.__email__=api_shim.core.javautils-module.html#__email__,Variable api_shim.core.net.__email__=api_shim.core.net-module.html#__email__,Variable api_shim.core.parsetools.__email__=api_shim.core.parsetools-module.html#__email__,Variable api_shim.core.shared_data.__email__=api_shim.core.shared_data-module.html#__email__,Variable api_shim.core.sock_js.__email__=api_shim.core.sock_js-module.html#__email__,Variable api_shim.core.ssl_support.__email__=api_shim.core.ssl_support-module.html#__email__,Variable api_shim.core.streams.__email__=api_shim.core.streams-module.html#__email__,Variable api_shim.core.tcp_support.__email__=api_shim.core.tcp_support-module.html#__email__,Variable api_shim.vertx.__email__=api_shim.vertx-module.html#__email__"><a title="api_shim.core.buffer.__email__
api_shim.core.event_bus.__email__
api_shim.core.file_system.__email__
api_shim.core.handlers.__email__
api_shim.core.http.__email__
api_shim.core.javautils.__email__
api_shim.core.net.__email__
api_shim.core.parsetools.__email__
api_shim.core.shared_data.__email__
api_shim.core.sock_js.__email__
api_shim.core.ssl_support.__email__
api_shim.core.streams.__email__
api_shim.core.tcp_support.__email__
api_shim.vertx.__email__" class="py-name" href="#" onclick="return doclink('link-27', '__email__', 'link-27');">__email__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"scott@hornmicro.com"</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt id="link-28" class="py-name" targets="Variable api_shim.core.buffer.__credits__=api_shim.core.buffer-module.html#__credits__,Variable api_shim.core.event_bus.__credits__=api_shim.core.event_bus-module.html#__credits__,Variable api_shim.core.file_system.__credits__=api_shim.core.file_system-module.html#__credits__,Variable api_shim.core.handlers.__credits__=api_shim.core.handlers-module.html#__credits__,Variable api_shim.core.http.__credits__=api_shim.core.http-module.html#__credits__,Variable api_shim.core.javautils.__credits__=api_shim.core.javautils-module.html#__credits__,Variable api_shim.core.net.__credits__=api_shim.core.net-module.html#__credits__,Variable api_shim.core.parsetools.__credits__=api_shim.core.parsetools-module.html#__credits__,Variable api_shim.core.shared_data.__credits__=api_shim.core.shared_data-module.html#__credits__,Variable api_shim.core.sock_js.__credits__=api_shim.core.sock_js-module.html#__credits__,Variable api_shim.core.ssl_support.__credits__=api_shim.core.ssl_support-module.html#__credits__,Variable api_shim.core.streams.__credits__=api_shim.core.streams-module.html#__credits__,Variable api_shim.core.tcp_support.__credits__=api_shim.core.tcp_support-module.html#__credits__,Variable api_shim.vertx.__credits__=api_shim.vertx-module.html#__credits__"><a title="api_shim.core.buffer.__credits__
api_shim.core.event_bus.__credits__
api_shim.core.file_system.__credits__
api_shim.core.handlers.__credits__
api_shim.core.http.__credits__
api_shim.core.javautils.__credits__
api_shim.core.net.__credits__
api_shim.core.parsetools.__credits__
api_shim.core.shared_data.__credits__
api_shim.core.sock_js.__credits__
api_shim.core.ssl_support.__credits__
api_shim.core.streams.__credits__
api_shim.core.tcp_support.__credits__
api_shim.vertx.__credits__" class="py-name" href="#" onclick="return doclink('link-28', '__credits__', 'link-28');">__credits__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"Based entirely on work by Tim Fox http://tfox.org"</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="create_http_server"></a><div id="create_http_server-def"><a name="L34"></a><tt class="py-lineno"> 34</tt> <a class="py-toggle" href="#" id="create_http_server-toggle" onclick="return toggle('create_http_server');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#create_http_server">create_http_server</a><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="create_http_server-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_http_server-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return a HttpServer """</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-29" class="py-name"><a title="api_shim.core.http.HttpServer" class="py-name" href="#" onclick="return doclink('link-29', 'HttpServer', 'link-8');">HttpServer</a></tt><tt class="py-op">(</tt><tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-30', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-31', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">createHttpServer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="create_http_client"></a><div id="create_http_client-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="create_http_client-toggle" onclick="return toggle('create_http_client');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#create_http_client">create_http_client</a><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="create_http_client-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_http_client-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return a HttpClient """</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-32" class="py-name"><a title="api_shim.core.http.HttpClient" class="py-name" href="#" onclick="return doclink('link-32', 'HttpClient', 'link-9');">HttpClient</a></tt><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"> </tt>
<a name="create_net_server"></a><div id="create_net_server-def"><a name="L42"></a><tt class="py-lineno"> 42</tt> <a class="py-toggle" href="#" id="create_net_server-toggle" onclick="return toggle('create_net_server');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#create_net_server">create_net_server</a><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="create_net_server-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_net_server-expanded"><a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return a NetServer """</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-33" class="py-name"><a title="api_shim.core.net.NetServer" class="py-name" href="#" onclick="return doclink('link-33', 'NetServer', 'link-12');">NetServer</a></tt><tt class="py-op">(</tt><tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-34', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-35', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">createNetServer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div><a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"> </tt>
<a name="create_net_client"></a><div id="create_net_client-def"><a name="L46"></a><tt class="py-lineno"> 46</tt> <a class="py-toggle" href="#" id="create_net_client-toggle" onclick="return toggle('create_net_client');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#create_net_client">create_net_client</a><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="create_net_client-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_net_client-expanded"><a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return a NetClient """</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-36" class="py-name"><a title="api_shim.core.net.NetClient" class="py-name" href="#" onclick="return doclink('link-36', 'NetClient', 'link-13');">NetClient</a></tt><tt class="py-op">(</tt><tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div><a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"> </tt>
<a name="create_sockjs_server"></a><div id="create_sockjs_server-def"><a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="create_sockjs_server-toggle" onclick="return toggle('create_sockjs_server');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#create_sockjs_server">create_sockjs_server</a><tt class="py-op">(</tt><tt class="py-param">http_server</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="create_sockjs_server-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_sockjs_server-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return a SockJSServer """</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-37" class="py-name"><a title="api_shim.core.sock_js.SockJSServer" class="py-name" href="#" onclick="return doclink('link-37', 'SockJSServer', 'link-16');">SockJSServer</a></tt><tt class="py-op">(</tt><tt class="py-name">http_server</tt><tt class="py-op">)</tt> </tt>
</div><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="file_system"></a><div id="file_system-def"><a name="L54"></a><tt class="py-lineno"> 54</tt> <a class="py-toggle" href="#" id="file_system-toggle" onclick="return toggle('file_system');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#file_system">file_system</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="file_system-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="file_system-expanded"><a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">    <tt class="py-docstring">""" Return the filesystem """</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-38" class="py-name"><a title="api_shim.core.file_system.FileSystem" class="py-name" href="#" onclick="return doclink('link-38', 'FileSystem', 'link-5');">FileSystem</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"> </tt>
<a name="logger"></a><div id="logger-def"><a name="L58"></a><tt class="py-lineno"> 58</tt> <a class="py-toggle" href="#" id="logger-toggle" onclick="return toggle('logger');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#logger">logger</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="logger-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="logger-expanded"><a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">    <tt class="py-docstring">""" Get the logger for the verticle """</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-39', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Function api_shim.vertx.logger()=api_shim.vertx-module.html#logger"><a title="api_shim.vertx.logger" class="py-name" href="#" onclick="return doclink('link-40', 'logger', 'link-40');">logger</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="deploy_verticle"></a><div id="deploy_verticle-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="deploy_verticle-toggle" onclick="return toggle('deploy_verticle');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#deploy_verticle">deploy_verticle</a><tt class="py-op">(</tt><tt class="py-param">main</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">instances</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="deploy_verticle-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="deploy_verticle-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">    <tt class="py-docstring">"""Deploy a verticle. The actual deploy happens asynchronously</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line"><tt class="py-docstring">    @param main: the main of the verticle to deploy</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"><tt class="py-docstring">    @param config: dict configuration for the verticle</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"><tt class="py-docstring">    @param instances: number of instances to deploy</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: a handler that will be called when deploy has completed</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt id="link-41" class="py-name" targets="Function api_shim.vertx.config()=api_shim.vertx-module.html#config"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-41', 'config', 'link-41');">config</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt id="link-42" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-42', 'config', 'link-41');">config</a></tt> <tt class="py-op">=</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-43', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-44', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">JsonObject</tt><tt class="py-op">(</tt><tt id="link-45" class="py-name"><a title="api_shim.core.javautils.map_to_java" class="py-name" href="#" onclick="return doclink('link-45', 'map_to_java', 'link-25');">map_to_java</a></tt><tt class="py-op">(</tt><tt id="link-46" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-46', 'config', 'link-41');">config</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">handler</tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">        <tt class="py-name">handler</tt> <tt class="py-op">=</tt> <tt id="link-47" class="py-name"><a title="api_shim.core.handlers.AsyncHandler" class="py-name" href="#" onclick="return doclink('link-47', 'AsyncHandler', 'link-21');">AsyncHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-48', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt class="py-name">deployVerticle</tt><tt class="py-op">(</tt><tt class="py-name">main</tt><tt class="py-op">,</tt> <tt id="link-49" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-49', 'config', 'link-41');">config</a></tt><tt class="py-op">,</tt> <tt class="py-name">instances</tt><tt class="py-op">,</tt> <tt class="py-name">handler</tt><tt class="py-op">)</tt> </tt>
</div><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"> </tt>
<a name="deploy_worker_verticle"></a><div id="deploy_worker_verticle-def"><a name="L79"></a><tt class="py-lineno"> 79</tt> <a class="py-toggle" href="#" id="deploy_worker_verticle-toggle" onclick="return toggle('deploy_worker_verticle');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#deploy_worker_verticle">deploy_worker_verticle</a><tt class="py-op">(</tt><tt class="py-param">main</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">instances</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">multi_threaded</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="deploy_worker_verticle-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="deploy_worker_verticle-expanded"><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">    <tt class="py-docstring">"""Deploy a worker verticle. The actual deploy happens asynchronously</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line"><tt class="py-docstring">    @param main: the main of the verticle to deploy</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line"><tt class="py-docstring">    @param config: dict configuration for the verticle</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"><tt class="py-docstring">    @param instances: the number of instances to deploy</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called when deploy has completed</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"><tt class="py-docstring">    @param multithreaded: enables multithreaded worker</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt id="link-50" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-50', 'config', 'link-41');">config</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">        <tt id="link-51" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-51', 'config', 'link-41');">config</a></tt> <tt class="py-op">=</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-52', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-53', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">JsonObject</tt><tt class="py-op">(</tt><tt id="link-54" class="py-name"><a title="api_shim.core.javautils.map_to_java" class="py-name" href="#" onclick="return doclink('link-54', 'map_to_java', 'link-25');">map_to_java</a></tt><tt class="py-op">(</tt><tt id="link-55" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-55', 'config', 'link-41');">config</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-56', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt class="py-name">deployWorkerVerticle</tt><tt class="py-op">(</tt><tt class="py-name">main</tt><tt class="py-op">,</tt> <tt id="link-57" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-57', 'config', 'link-41');">config</a></tt><tt class="py-op">,</tt> <tt class="py-name">instances</tt><tt class="py-op">,</tt> <tt class="py-name">multi_threaded</tt><tt class="py-op">,</tt> <tt id="link-58" class="py-name"><a title="api_shim.core.handlers.AsyncHandler" class="py-name" href="#" onclick="return doclink('link-58', 'AsyncHandler', 'link-21');">AsyncHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"> </tt>
<a name="deploy_module"></a><div id="deploy_module-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="deploy_module-toggle" onclick="return toggle('deploy_module');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#deploy_module">deploy_module</a><tt class="py-op">(</tt><tt class="py-param">module_name</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">instances</tt><tt class="py-op">=</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="deploy_module-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="deploy_module-expanded"><a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">    <tt class="py-docstring">"""Deploy a module. The actual deploy happens asynchronously</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"><tt class="py-docstring">    @param module_name: The name of the module to deploy</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt class="py-docstring">    @param config: dict configuration for the module</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt class="py-docstring">    @param instances: Number of instances to deploy</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called when deploy has completed</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt id="link-59" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-59', 'config', 'link-41');">config</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt id="link-60" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-60', 'config', 'link-41');">config</a></tt> <tt class="py-op">=</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-61', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="api_shim.core" class="py-name" href="#" onclick="return doclink('link-62', 'core', 'link-2');">core</a></tt><tt class="py-op">.</tt><tt class="py-name">json</tt><tt class="py-op">.</tt><tt class="py-name">JsonObject</tt><tt class="py-op">(</tt><tt id="link-63" class="py-name"><a title="api_shim.core.javautils.map_to_java" class="py-name" href="#" onclick="return doclink('link-63', 'map_to_java', 'link-25');">map_to_java</a></tt><tt class="py-op">(</tt><tt id="link-64" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-64', 'config', 'link-41');">config</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-65', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt class="py-name">deployModule</tt><tt class="py-op">(</tt><tt class="py-name">module_name</tt><tt class="py-op">,</tt> <tt id="link-66" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-66', 'config', 'link-41');">config</a></tt><tt class="py-op">,</tt> <tt class="py-name">instances</tt><tt class="py-op">,</tt> <tt id="link-67" class="py-name"><a title="api_shim.core.handlers.AsyncHandler" class="py-name" href="#" onclick="return doclink('link-67', 'AsyncHandler', 'link-21');">AsyncHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"> </tt>
<a name="undeploy_verticle"></a><div id="undeploy_verticle-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="undeploy_verticle-toggle" onclick="return toggle('undeploy_verticle');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#undeploy_verticle">undeploy_verticle</a><tt class="py-op">(</tt><tt class="py-param">id</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="undeploy_verticle-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="undeploy_verticle-expanded"><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">    <tt class="py-docstring">"""Undeploy a verticle</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"><tt class="py-docstring">    @param id: the unique id of the deployment</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called when undeploy has completed</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-68', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt class="py-name">undeployVerticle</tt><tt class="py-op">(</tt><tt class="py-name">id</tt><tt class="py-op">,</tt> <tt id="link-69" class="py-name"><a title="api_shim.core.handlers.NullAsyncHandler" class="py-name" href="#" onclick="return doclink('link-69', 'NullAsyncHandler', 'link-22');">NullAsyncHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"> </tt>
<a name="undeploy_module"></a><div id="undeploy_module-def"><a name="L115"></a><tt class="py-lineno">115</tt> <a class="py-toggle" href="#" id="undeploy_module-toggle" onclick="return toggle('undeploy_module');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#undeploy_module">undeploy_module</a><tt class="py-op">(</tt><tt class="py-param">id</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="undeploy_module-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="undeploy_module-expanded"><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">    <tt class="py-docstring">"""Undeploy a module</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt class="py-docstring">    @param id: the unique id of the module</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called when undeploy has completed</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-70', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt class="py-name">undeployModule</tt><tt class="py-op">(</tt><tt class="py-name">id</tt><tt class="py-op">,</tt> <tt id="link-71" class="py-name"><a title="api_shim.core.handlers.NullAsyncHandler" class="py-name" href="#" onclick="return doclink('link-71', 'NullAsyncHandler', 'link-22');">NullAsyncHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"> </tt>
<a name="config"></a><div id="config-def"><a name="L124"></a><tt class="py-lineno">124</tt> <a class="py-toggle" href="#" id="config-toggle" onclick="return toggle('config');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#config">config</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="config-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="config-expanded"><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">    <tt class="py-docstring">"""Get config for the verticle</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt class="py-docstring">    @return: dict config for the verticle</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-72" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-72', 'map_from_java', 'link-26');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-73', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="api_shim.vertx.config" class="py-name" href="#" onclick="return doclink('link-74', 'config', 'link-41');">config</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">toMap</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"> </tt>
<a name="env"></a><div id="env-def"><a name="L130"></a><tt class="py-lineno">130</tt> <a class="py-toggle" href="#" id="env-toggle" onclick="return toggle('env');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#env">env</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="env-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="env-expanded"><a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">    <tt class="py-docstring">"""Get environment variables for the verticle</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line"><tt class="py-docstring">    @return: dict containing environment variables</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-75" class="py-name"><a title="api_shim.core.javautils.map_from_java" class="py-name" href="#" onclick="return doclink('link-75', 'map_from_java', 'link-26');">map_from_java</a></tt><tt class="py-op">(</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">lang</tt><tt class="py-op">.</tt><tt class="py-name">System</tt><tt class="py-op">.</tt><tt class="py-name">getenv</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line"> </tt>
<a name="set_timer"></a><div id="set_timer-def"><a name="L136"></a><tt class="py-lineno">136</tt> <a class="py-toggle" href="#" id="set_timer-toggle" onclick="return toggle('set_timer');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#set_timer">set_timer</a><tt class="py-op">(</tt><tt class="py-param">delay</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="set_timer-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="set_timer-expanded"><a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets a one-shot timer that will fire after a certain delay.</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"><tt class="py-docstring">    @param delay: the delay, in milliseconds</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called when the timer fires</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"><tt class="py-docstring">    @return: the unique id of the timer</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-76" class="py-name" targets="Function api_shim.vertx.java_vertx()=api_shim.vertx-module.html#java_vertx"><a title="api_shim.vertx.java_vertx" class="py-name" href="#" onclick="return doclink('link-76', 'java_vertx', 'link-76');">java_vertx</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">setTimer</tt><tt class="py-op">(</tt><tt class="py-name">delay</tt><tt class="py-op">,</tt> <tt id="link-77" class="py-name"><a title="api_shim.core.handlers.TimerHandler" class="py-name" href="#" onclick="return doclink('link-77', 'TimerHandler', 'link-19');">TimerHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"> </tt>
<a name="set_periodic"></a><div id="set_periodic-def"><a name="L146"></a><tt class="py-lineno">146</tt> <a class="py-toggle" href="#" id="set_periodic-toggle" onclick="return toggle('set_periodic');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#set_periodic">set_periodic</a><tt class="py-op">(</tt><tt class="py-param">delay</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="set_periodic-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="set_periodic-expanded"><a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets a periodic timer.</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt class="py-docstring">    @param delay: the period of the timer, in milliseconds</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler that will be called each time the timer fires</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt class="py-docstring">    @return: the unique id of the timer</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-78" class="py-name"><a title="api_shim.vertx.java_vertx" class="py-name" href="#" onclick="return doclink('link-78', 'java_vertx', 'link-76');">java_vertx</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">setPeriodic</tt><tt class="py-op">(</tt><tt class="py-name">delay</tt><tt class="py-op">,</tt> <tt id="link-79" class="py-name"><a title="api_shim.core.handlers.TimerHandler" class="py-name" href="#" onclick="return doclink('link-79', 'TimerHandler', 'link-19');">TimerHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"> </tt>
<a name="cancel_timer"></a><div id="cancel_timer-def"><a name="L156"></a><tt class="py-lineno">156</tt> <a class="py-toggle" href="#" id="cancel_timer-toggle" onclick="return toggle('cancel_timer');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#cancel_timer">cancel_timer</a><tt class="py-op">(</tt><tt class="py-param">id</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="cancel_timer-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="cancel_timer-expanded"><a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">    <tt class="py-docstring">"""Cancels a timer.</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line"><tt class="py-docstring">    @param id: the id of the timer, as returned from set_timer or set_periodic</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"><tt class="py-docstring">    @return: true if the timer was cancelled, false if it wasn't found.</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-80" class="py-name"><a title="api_shim.vertx.java_vertx" class="py-name" href="#" onclick="return doclink('link-80', 'java_vertx', 'link-76');">java_vertx</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">cancelTimer</tt><tt class="py-op">(</tt><tt class="py-name">id</tt><tt class="py-op">)</tt> </tt>
</div><a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line"> </tt>
<a name="run_on_context"></a><div id="run_on_context-def"><a name="L165"></a><tt class="py-lineno">165</tt> <a class="py-toggle" href="#" id="run_on_context-toggle" onclick="return toggle('run_on_context');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#run_on_context">run_on_context</a><tt class="py-op">(</tt><tt class="py-param">handler</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="run_on_context-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="run_on_context-expanded"><a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">    <tt class="py-docstring">"""Put the handler on the event queue for this loop so it will be run asynchronously</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"><tt class="py-docstring">    ASAP after this event has been processed</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line"><tt class="py-docstring">    @param handler: an handler representing the code that will be run ASAP</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">    <tt id="link-81" class="py-name"><a title="api_shim.vertx.java_vertx" class="py-name" href="#" onclick="return doclink('link-81', 'java_vertx', 'link-76');">java_vertx</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">runOnContext</tt><tt class="py-op">(</tt><tt id="link-82" class="py-name"><a title="api_shim.core.handlers.NullDoneHandler" class="py-name" href="#" onclick="return doclink('link-82', 'NullDoneHandler', 'link-20');">NullDoneHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line"> </tt>
<a name="current_context"></a><div id="current_context-def"><a name="L174"></a><tt class="py-lineno">174</tt> <a class="py-toggle" href="#" id="current_context-toggle" onclick="return toggle('current_context');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#current_context">current_context</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="current_context-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="current_context-expanded"><a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-83" class="py-name" targets="Class api_shim.vertx.Context=api_shim.vertx.Context-class.html"><a title="api_shim.vertx.Context" class="py-name" href="#" onclick="return doclink('link-83', 'Context', 'link-83');">Context</a></tt><tt class="py-op">(</tt><tt id="link-84" class="py-name"><a title="api_shim.vertx.java_vertx" class="py-name" href="#" onclick="return doclink('link-84', 'java_vertx', 'link-76');">java_vertx</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">currentContext</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line"> </tt>
<a name="exit"></a><div id="exit-def"><a name="L177"></a><tt class="py-lineno">177</tt> <a class="py-toggle" href="#" id="exit-toggle" onclick="return toggle('exit');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#exit">exit</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="exit-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="exit-expanded"><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">    <tt class="py-docstring">""" Cause the container to exit """</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">    <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-85', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt class="py-name">container</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name" targets="Function api_shim.vertx.exit()=api_shim.vertx-module.html#exit"><a title="api_shim.vertx.exit" class="py-name" href="#" onclick="return doclink('link-86', 'exit', 'link-86');">exit</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line"> </tt>
<a name="java_vertx"></a><div id="java_vertx-def"><a name="L181"></a><tt class="py-lineno">181</tt> <a class="py-toggle" href="#" id="java_vertx-toggle" onclick="return toggle('java_vertx');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx-module.html#java_vertx">java_vertx</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="java_vertx-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="java_vertx-expanded"><a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">org</tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-87', 'vertx', 'link-0');">vertx</a></tt><tt class="py-op">.</tt><tt class="py-name">java</tt><tt class="py-op">.</tt><tt class="py-name">platform</tt><tt class="py-op">.</tt><tt class="py-name">impl</tt><tt class="py-op">.</tt><tt class="py-name">JythonVerticleFactory</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="api_shim.vertx" class="py-name" href="#" onclick="return doclink('link-88', 'vertx', 'link-0');">vertx</a></tt> </tt>
</div><a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"> </tt>
<a name="Context"></a><div id="Context-def"><a name="L184"></a><tt class="py-lineno">184</tt> <a class="py-toggle" href="#" id="Context-toggle" onclick="return toggle('Context');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.vertx.Context-class.html">Context</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Context-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Context-expanded"><a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">    <tt class="py-docstring">""" An HTTP and websockets server """</tt> </tt>
<a name="Context.__init__"></a><div id="Context.__init__-def"><a name="L186"></a><tt class="py-lineno">186</tt> <a class="py-toggle" href="#" id="Context.__init__-toggle" onclick="return toggle('Context.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx.Context-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">j_context</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Context.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Context.__init__-expanded"><a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">j_context</tt> <tt class="py-op">=</tt> <tt class="py-name">j_context</tt> </tt>
</div><a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line"> </tt>
<a name="Context.run_on_context"></a><div id="Context.run_on_context-def"><a name="L189"></a><tt class="py-lineno">189</tt> <a class="py-toggle" href="#" id="Context.run_on_context-toggle" onclick="return toggle('Context.run_on_context');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.vertx.Context-class.html#run_on_context">run_on_context</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">handler</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Context.run_on_context-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Context.run_on_context-expanded"><a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">j_context</tt><tt class="py-op">.</tt><tt class="py-name">runOnContext</tt><tt class="py-op">(</tt><tt id="link-89" class="py-name"><a title="api_shim.core.handlers.NullDoneHandler" class="py-name" href="#" onclick="return doclink('link-89', 'NullDoneHandler', 'link-20');">NullDoneHandler</a></tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Wed Jul 17 20:25:01 2013
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>